#ifndef LCD_GEOMETRY_H
#define LCD_GEOMETRY_H
#endif

#include "stm32f4xx.h"
#include "f4xx_LCD_Middle.h"
#include "Common_funcs.h"
#include "LCD_Colour.h"
#include <math.h>


#define LINE_CASE_01(X_Start, X_End, Y_Start, Y_End) 	(((X_Start) > (X_End)) & ((Y_Start) > (Y_End)))

#define LINE_CASE_02(X_Start, X_End, Y_Start, Y_End) 	(((X_Start) < (X_End)) & ((Y_Start) > (Y_End)))

#define LINE_CASE_03(X_Start, X_End, Y_Start, Y_End) 	(((X_Start) > (X_End)) & ((Y_Start) < (Y_End)))

#define LINE_CASE_04(X_Start, X_End, Y_Start, Y_End) 	(((X_Start) < (X_End)) & ((Y_Start) < (Y_End)))

#ifdef __cplusplus
	extern "C" {
#endif


void Geo_Line(struct LCD_Line * LineCord);




#ifdef __cplusplus
	}
#endif
